package com.zt.rongda.quota.inter;

import com.zt.rongda.quota.model.QuotaConfig;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface QuotaConfigMapper {
    int deleteByPrimaryKey(@Param("quotaConfigId") String quotaConfigId);

    int insert(QuotaConfig record);

    QuotaConfig selectByPrimaryKey(@Param("quotaConfigId") String quotaConfigId);

    int updateByPrimaryKeySelective(QuotaConfig record);

    int updateByPrimaryKey(QuotaConfig record);
    
    QuotaConfig selectByPublishTypeAndMakeType(@Param("publishTypeId") String publishTypeId,@Param("makeTypeId") String makeTypeId);
    
    QuotaConfig selectByQuotaConfigParentId(@Param("quotaConfigParentId") String quotaConfigParentId);
    
    List<QuotaConfig> selectByPublishType(@Param("publishTypeId") String publishTypeId);
}